package com.hgd.tools;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaUpdate;

public class DBUpdate {
	public static void main(String[] args) {
		Configuration cfg = new Configuration().configure();	

		SchemaUpdate schemaUpdate = new SchemaUpdate(cfg);
		schemaUpdate.execute(true, true);
	}
}
